package io.gitee.zhangbinhub.acp.cloud.resource.server.conf

import io.gitee.zhangbinhub.acp.cloud.resource.server.constant.AcpCloudResourceServerConstant
import org.noear.solon.annotation.Configuration
import org.noear.solon.annotation.Inject

/**
 * 鉴权相关配置
 *
 * @since JDK 17
 */
@Inject(value = "\${${AcpCloudResourceServerConstant.PROPERTIES_PREFIX}}", required = false, autoRefreshed = true)
@Configuration
class AcpCloudResourceServerConfiguration {
    /**
     * 不进行权限校验的 url path
     */
    var permitAllPath: MutableList<String> = mutableListOf()

    /**
     * 进行权限保护的 url path
     */
    var securityPath: MutableList<String> = mutableListOf()

}
